#ifndef CTEXTLISTITEM_H_
#define CTEXTLISTITEM_H_

#include "../base/cobject.h"

/**
 * CTextListItem - classs prepresenting an item in component selection list
 * @author Michal Rost
 * @date 31.07.2008
 */
class CTextListItem : public CObject {
public:
  CTextListItem(string value, int id) {
    this->value = value;
    this->id = id;
  }
  std::string getValue() const {
    return value;
  }
  void setValue(std::string value) {
    this->value = value;
  }
  int getId() const {
    return id;
  }
  void setId(int id) {
    this->id = id;
  }
  static std::string getClassName() {
    return "CTextListItem";
  }
protected:
  std::string value;
  int id;
};

#endif
